var status = -1;

function start(e, d, c) {
    if (e === 0) {
        status--
    } else {
        status++
    }
    if (qm.getPlayer().getGender() == 0) {
        var a = 1531000
    } else {
        var a = 1531052
    }
    var b = -1;
    if (status <= b++) {
        qm.dispose()
    } else {
        if (status === b++) {
            qm.sendNormalTalk("#b#h0##k，看到这里了吧？\r\n这条新闻啊，看到了吧？说是超能力者救了小孩子。", 9, 1531061, false, true)
        } else {
            if (status === b++) {
                qm.curNodeEventEnd(true);
                qm.eventSKill(0);
                qm.setInGameDirectionMode(true, false, true);
                qm.setStandAloneMode(true);
                qm.inGameDirectionEvent_AskAnswerTime(1500)
            } else {
                if (status === b++) {
                    qm.fieldEffect_InsertCanvas(1, 255, 0, 0, 0, 500, 0);
                    qm.inGameDirectionEvent_AskAnswerTime(500)
                } else {
                    if (status === b++) {
                        qm.fieldEffect_ProcessOnOffLayer("0", "Map/Effect2.img/kinesis/news1", 0, 1000, 0, 0, 12, 4, 0, -1, 0, 0, 0);
                        qm.inGameDirectionEvent_AskAnswerTime(1500)
                    } else {
                        if (status === b++) {
                            qm.sendNormalTalk_Bottom("#b(是啊，那会儿头发差点全部被烧着。)#k", 37, a, false, true)
                        } else {
                            if (status === b++) {
                                qm.inGameDirectionEvent_AskAnswerTime(1500)
                            } else {
                                if (status === b++) {
                                    qm.fieldEffect_ProcessOnOffLayer("0", "", 2, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0);
                                    qm.inGameDirectionEvent_AskAnswerTime(1500)
                                } else {
                                    if (status === b++) {
                                        qm.fieldEffect_InsertCanvas(1, 255, 0, 0, 0, 0, 0);
                                        qm.inGameDirectionEvent_AskAnswerTime(1200)
                                    } else {
                                        if (status === b++) {
                                            qm.fieldEffect_InsertCanvas(0, 0, 0, 0, 0, 1000, 0);
                                            qm.inGameDirectionEvent_AskAnswerTime(1400)
                                        } else {
                                            if (status === b++) {
                                                qm.setStandAloneMode(false);
                                                qm.inGameDirectionEvent_ForcedFlip15(700, 0, 0, 0, 0);
                                                qm.eventSKill(0);
                                                qm.setInGameDirectionMode(false, true, false);
                                                qm.sendNormalTalk("嗯？你说什么？", 9, 1531061, false, true)
                                            } else {
                                                if (status === b++) {
                                                    qm.sendNormalTalk("没事，我什么都没说，还是赶紧给我签名吧。", 3, 1531061, true, true)
                                                } else {
                                                    if (status === b++) {
                                                        qm.getTopMsgFont("已经得到了三人中第一个学生的签名. ", 3, 20, 20, 0, 0);
                                                        qm.forceStartQuest(22722, "");
                                                        qm.forceCompleteQuest(22722);
                                                        qm.gainExp(300);
                                                        qm.dispose()
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

function end(c, b, a) {
    qm.forceCompleteQuest();
    qm.dispose()
};